package com.food.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 帅得一
 * @since 2023年06月13日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("account")
public class Account implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "account_id", type = IdType.AUTO)
    private Long accountId;

    @TableField("account_name")
    private String accountName;

    @TableField("account_nick_name")
    private String accountNickName;

    @TableField("account_password")
    private String accountPassword;

    @TableField("account_phone")
    private String accountPhone;

    @TableField("account_state")
    private Integer accountState;

    @TableField("account_role")
    private Integer accountRole;

    @TableField("account_role_name")
    private String accountRoleName;

    @TableField("account_power_id")
    private Integer accountPowerId;


}
